<html>
    <head>
        <title>Pediatr&iacute;a</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <link href="css/style.css" rel="stylesheet" type="text/css">
        <link type="text/css" href="css/menu.css" rel="stylesheet" />
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/menu.js"></script>
        <link type="text/css" href="css/start/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
        <script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
        <script type="text/javascript" src="js/gestion_general.js"></script>
        <script type="text/javascript" src="js/gestion_consulta.js"></script>
        
        <script type="text/javascript">
            $(function() {
                $('input[type="button"]').button();
            });
        </script>
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="actualizar_paciente_espera_preclinica()" >
        <table width="100%" height="100%" border="0" style="vertical-align: top" align="center" cellpadding="0" cellspacing="0">
            <tr><!- encabezado ->
                <?php
                include("class/connection.php");
                include("content/encabezado.php");
                $conexion = new Connection();
                $conexion->connect();
                ?>
            </tr><!-  FIN encabezado ->
            <tr><!-  INICIO MENU ->
                <td height="75" background="images/top02bg_1.gif" style="margin-bottom: 0;background-repeat: repeat-x; vertical-align: top;">
                    <br/>
                    <?php
                    include("content/menu.php");
                    ?>
                </td>
            </tr><!-  FIN MENU ->
            <tr>
                <td align="center" valign="top" bgcolor="F8FFE9">
                    <table style="min-width: 600px" height="100%" border="0" cellpadding="0" cellspacing="0" class="text" align="center">
                        <tr>
                            <td width="539" align="left" valign="top">
                                <table width="650" border="0" height="100%" cellpadding="0" cellspacing="0" class="text">

                                    <tr>
                                        <td align="center" valign="top" bgcolor="F8FFE9" height="100%">
                                            <!- INicio de contenido->
                                            <div style="padding: 10px" >
                                                <h1 align="center">Precl&iacute;nica </h1><br/>

                                                <h3 align="left">Lista de pacientes en espera</h3>
                                                <hr>
                                                <input type="button" onclick="mostrar_divDetalles('div_paciente_espera')" align="left" class="boton" value="Mostrar/Ocultar"/>
                                                
                                                <div id="div_paciente_espera">
                                                    <table border="0" width="100%" class="estilo_tabla">
                                                        <tr class="titulo_tabla">
                                                            <td>No. expediente</td><td>Fecha/Hora</td><td>Identificaci&oacute;n</td><td>Nombre completo</td><td colspan="2">Opciones</td>
                                                        </tr>

                                                    </table>
                                                    <br/>
                                                </div>
                                                <br/><br/>
                                                <h3 align="left">Examen f&iacute;sico</h3>
                                                <hr><br/>
                                                <div id="div_datos_paciente" >
                                                    <table width="100%" border="0">
                                                        <tr><td colspan="2" align="center">
                                                                <div id="div_cargando_datos" class="div_encima" align="center">

                                                                </div></td></tr>
                                                        <tr>
                                                            <td align="left" width="25%"><label>No. expediente:</label></td><td><input type="text" readonly disabled></td>
                                                        </tr>
                                                        <tr>
                                                            <td><label>Identificaci&oacute;n:</label></td><td><input type="text" readonly disabled></td>
                                                        </tr>

                                                        <tr>
                                                            <td><label>Nombre:</label></td><td><input type="text" readonly disabled></td>
                                                        </tr>
                                                        <tr>
                                                            <td><label>Direcci&oacute;n:</label></td><td><input type="text" readonly disabled></td>
                                                        </tr>
                                                    </table>




                                                    <input type="hidden" value="-1" id="txtPacienteId">


                                                    <table border="0" width="100%">
                                                        <tr><td colspan="2">&nbsp;<div id="div_mensaje" style="color: red">&nbsp;</div></td></tr>
                                                        <tr><td>
                                                                <table>
                                                                    <tr><td><label>Peso:</label></td><td><input type="text" size="5" id="txtPeso"></td></tr>
                                                                    <tr><td><label>Talla:</label></td><td><input type="text" size="5" id="txtTalla"></td></tr>
                                                                    <tr><td><label>Pulso:</label></td><td><input type="text" size="5" id="txtPulso"></td></tr>
                                                                    <tr><td><label>Per&iacute;metro cef&aacute;lico:</label></td><td><input type="text" size="5" id="txtPerimetro"></td></tr>

                                                                </table>
                                                            </td>

                                                            <td>
                                                                <table>
                                                                    <tr><td><label>Temperatura:</label></td><td><input type="text" size="5" id="txtTemperatura"></td></tr>
                                                                    <tr><td><label>P/A:</label></td><td><input type="text" size="5" id="txtP_a"></td></tr>
                                                                    <tr><td><label>Respiraciones:</label></td><td><input type="text" size="5" id="txtRespiraciones"></td></tr>
                                                                </table>
                                                            </td></tr>

                                                        <tr><td colspan="2">&nbsp;</td></tr>
                                                        <tr><td  colspan="2"><label>Observaciones:</label><br/><textarea id="txtObservaciones" cols="60" rows="3"></textarea><br/></td></tr>
                                                        <tr><td colspan="2">&nbsp;</td></tr>
                                                        <tr><td colspan="2"></td></tr>
                                                    </table>
                                                </div>
                                                <table width="100%">
                                                    <tr><td><input type="button" class="boton" value="Guardar" onclick="guardar_examenFisico()"/>
                                                            <input type="button" class="boton" value="Actualizar" onclick="actualizar_examenFisico()"/>
</td></tr>
                                                    
                                                </table>
                                                





                                            </div>
                                            <br/><br/>
                                        </td><!- FIN de contenido->
                                    </tr>
                                </table></td>

                        </tr>
                    </table></td>
            </tr>
            <tr>
                <?php
                    include("content/pie_page.php");
                ?>

            </tr>

        </table>
        <div id="copyright" style="display: none">Copyright &copy; 2011 <a href="http://apycom.com/">Apycom jQuery Menus</a></div>

    </body>
</html>
